package com.pine.dbant.common.plugin;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author xiaoyuan
 * @create 2022/11/4 13:45
 **/
@Setter
@Getter
@AllArgsConstructor
public class PluginMeta {

    /**
     * 用于显示的插件名字
     */
    private String label;

    private String id;

    private PluginType pluginType;

    /**
     * js文件名
     */
    private String javascriptFilename;

    public PluginMeta(PluginType pluginType,String id, String label) {
        this.pluginType = pluginType;
        this.id = id;
        this.label = label;
    }
}
